﻿using PwdMgrUI.Resource;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;

namespace PwdMgrUI.Utils
{
    class I18NManager
    {
        private static CultureInfo _culture = new CultureInfo("zh-CN");
        public static CultureInfo Culture
        {
            get { return _culture; }
            set { _culture = value; }
        }

        public static string GetString(string key)
        {
            return I18N.ResourceManager.GetString(key, _culture) ?? key;
        }
    }
}
